package cn.tedu.zhyl.nurseManager.mapper;

import cn.tedu.zhyl.nurseManager.pojo.dto.NursePlanParam;
import cn.tedu.zhyl.nurseManager.pojo.dto.NursePlanQuery;
import cn.tedu.zhyl.nurseManager.pojo.vo.NursePlanVO;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface NursePlanMapper {
    List<NursePlanVO> select(NursePlanQuery nursePlanQuery);

    void insert(NursePlanParam planParam);

    void insertPlanJob(List<Map<String, Object>> jobs);

    List<Map<String, Object>> getItemsByPid(Integer pid);

    void update(NursePlanParam planParam);

    void deletePlanItems(NursePlanParam planParam);

    void deletePlan(Integer planId);
}
